transient analysis of electrical circuits